package cn.iocoder.yudao.module.diy.controller.admin.page.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 装修页面分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PagePageReqVO extends PageParam {

    @Schema(description = "插件id", example = "28019")
    private Long addonId;

    @Schema(description = "页面名称（用于后台展示）")
    private String pageTitle;

    @Schema(description = "页面标识", example = "赵六")
    private String pageName;

    @Schema(description = "页面模板", example = "2")
    private String pageType;

    @Schema(description = "模板名称")
    private String template;

    @Schema(description = "页面展示模式，diy：自定义，fixed：固定")
    private String mode;

    @Schema(description = "页面数据，json格式")
    private String pageValue;

    @Schema(description = "是否默认页面，1：是，0：否")
    private String isDefault;

    @Schema(description = "数据是否发生过变化，1：变化了，2：没有")
    private String isChange;

    @Schema(description = "分享内容")
    private String share;

    @Schema(description = "访问量", example = "18012")
    private String visitCount;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}